#ifndef START_POINT_RULE_H
#define START_POINT_RULE_H

#include "ivalidatorrule.h"

namespace swp
{

class StartPointRule : public IValidatorRule
{
public:
    StartPointRule();
    ~StartPointRule();

    // IValidatorRule
    bool isProjectWide() const;
    bool validate(
        const QSharedPointer<core::IContainerDocument>& document,
        QAction*& reportClickAction, QString& reportText) const;
    bool validate(const QSharedPointer<core::IDocument>& document,
        QAction*& reportClickAction, QString& reportText) const;
};

} // namespace swp

#endif
